<template>
  <div class="common-layout">
    <el-container>
      <el-header>Header</el-header>
      <el-container>
        <el-aside>
            <Menu></Menu>
        </el-aside>
        <el-main>
            <router-view/>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup>
  import {ref} from 'vue'
  import  Menu  from '../components/home/Menu.vue'
</script>

<style scoped>
.common-layout {
    border:1px solid #80808a;
    border-radius: 8px;
    width: calc(100vw - 400px);
}
.el-header {
    height: 60px;
    background-color:#a9bbec;
}

.el-aside {
    width: 180px;
    height: calc(100vh - 100px - 4rem);
    background-color: #375757;
}

</style>